package GenericsDemo2;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList<String> list1=new ArrayList<>();
        ListUtil.addall(list1,"aaa","bbb","ddd");
        System.out.println(list1);

        ArrayList<Integer> list2=new ArrayList<>();
        ListUtil.addall(list2,123,456,789);
        System.out.println(list2);


    }
}
